/*
 * Copyright (c) 2019. Mikes. All rights reserved.
 *
 * You can contact me with sending email to bWlrZXNfMjAxMkAxNjMuY29t for more information!
 */

package com.climber.android.commonsdk.app

/**
 * 配置KEY，使用 config 为前缀
 * 界面传参，使用 param 为前缀
 *
 */
object AppConstants {
    const val LOG_TAG = "iQmi_Log"

    const val API_BASE_URL = "API_BASE_URL"

    const val PARAM_WEB_URL = "param_web_url"
    const val PARAM_WEB_PARAMETER = "param_web_parameter"
    const val PARAM_WEB_TITLE = "title"
    const val PARAM_BREAK_BACK = "breakBack"

    const val PARAM_POSTCARD_PATH = "param_postCardPath"
    const val PARAM_POSTCARD_BUNDLE = "param_postCardBundle"

    const val DEFAULT_MONEY_SYMBOL = "￥"
    const val DEFAULT_TEXT_PLACEHOLDER = "-"

    const val DEFAULT_COUNTRY_CODE = "+86"

    const val CONFIG_LAUNCH_AFTER_INSTALLED = "config_launch_after_installed"
    const val CONFIG_LAUNCH_AFTER_DOWNLOAD = "config_launch_after_download"
    const val LAST_APP_VERSION_CODE = "config_last_app_version_code"

    const val MAX_UPLOAD_VIDEO_SIZE = 25L * 1024 * 1024

    // 为了避免与用户输入英文逗号混淆，特此设置（τ 陶）作为多字符拼接符号。
    const val STRING_CONCAT = "τ"

    // 默认的图片圆角值
    const val DEF_PIC_CORNER = 2

    /**
     * 用户登录信息
     */
    const val config_loginUser = "config_login_user"
    const val config_Token = "config_token"

    const val DEFAULT_PAGE_INDEX = 1
    const val DEFAULT_PAGE_SIZE = 20

    const val DIALOG_AUTO_DISMISS_TIME : Long = 3 //seconds

    // 用户ID
    const val PARAM_USER_ID = "userId"
    const val PARAM_ID = "id"

    // 任务ID
    const val PARAM_TASK_ID = "task_id"

    const val PARAM_TAB = "tab"
    const val PARAM_TAB_CHILD = "childTab"

    // 支付金额
    const val PARAM_PAY_MONEY = "app_pay_money"
}
